
body,html{
	background: #4876FF;
}

#wrapper{
	width: 400px;
	height: 500px;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-left: -200px;
	margin-top: -250px;
	background: white;
	overflow: hidden;
}
header{
	width: 100%;
	height: 91px;
	display: -webkit-box;
	-webkit-box-pack: center;
}
header img{
	position: relative;
	top: -30px;
}
.count{
	width: 100%;
	margin-top: 20px;
	
}
.count form{
	width: 90%;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	margin: 0 auto;
}
.count form input{
	display: block;
	padding: 13px;
	border: 0;
	box-shadow: 0 0 1px #999999;
	
	
}
.count form input:first-child{
	border-radius: 3px 3px 0 0;
}
.count form input:nth-child(2){
	border-radius: 0 0 3px 3px;
}
.count form input:nth-child(3){
	margin-top: 20px;
	background: #4876FF;
	color: white;
	border-radius: 3px;
}
.count div{
	width: 90%;
	margin: 10px auto;
	display: -webkit-box;
	-webkit-box-pack: justify;
}
.count div span{
	display: block;
	color: black;
}
footer{
	width: 100%;
	
}
footer ul{
	width: 100%;
	display: -webkit-box;
	-webkit-box-pack: center;
}
footer ul li{
	display: -webkit-box;
}
footer ul li a{
	display: block;
	
}
footer ul li a img{
	display: block;
	width: 60%;
	margin: 10px auto;
}
@media screen and (max-width:420px ){
	#wrapper{
		width: 100%;
		height: 100%;
		position: absolute;
		top: 0;
		left: 0;
		margin: 0;
		background: #4876FF;
		overflow: hidden;
	}
	header{
	width: 100%;
	height: 91px;
	
	display: -webkit-box;
	-webkit-box-pack: center;
	overflow: hidden;
	}
	header img{
		position: relative;
		top: 31px;
		
	}
	.count form input:nth-child(3){
		margin-top: 20px;
		background:blue;
		color: white;
		border-radius: 3px;
		}
	.count div span{
		display: block;
		color: white;
	}
	.count div span a{
		color: white;
	}
	footer{
		width: 90%;
		margin:auto;
	}
	footer ul{
		width: 100%;
		display: -webkit-box;
		-webkit-box-pack: center;
	}
	footer ul li{
		display: -webkit-box;
		width:30%;
	}
}